list_fh=['+','-','*','/','%','//']
while True:
    print("------欢迎来到简易计算机--------")
    print("1.简易计算机")
    print("2.退出系统（任意非1数字退出）")
    print("-------------------------------")
    title = input(":")
    if title == '1':
        num1 = input("请输入第一个数：")
        fh = input("请输入+-*/%//中的一种：")
        num2 = input("请输入第二个数：")
        num = 0
        if fh == "+":
            num = float(num1) + float(num2)
        elif fh == "-":
            num = float(num1) - float(num2)
        elif fh == "*":
            num = float(num1) * float(num2)
        elif fh == "/":
            num = float(num1) / float(num2)
        elif fh == "%":
            num = float(num1) % float(num2)
        elif fh == "//":
            num = int(num1) // float(num2)
        if fh in list_fh:
            print("运算结果为："+num1+fh+num2+"="+str(num))
        else:
            print("你输入的不符合格式，无法给你计算")
            print("-----------------------------------")
    else:
        print("正在退出系统中-------")
        break